package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 网站评论
 * TableName : WEB_COMMENT
 * ClassName : com.swlz.entity.WebComment
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-11 02:45:44
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("WEB_COMMENT")
public class WebComment  {


	/**
	 * <pre>评论编号 - COMMENT_ID</pre>
	 **/
	@Id
	private Long commentId;
	/**
	 * <pre>父级评论编号 - COMMENT_PARENT_ID</pre>
	 **/
	private Long commentParentId;
	/**
	 * <pre>评论类别 - COMMENT_TYPE</pre>
	 **/
	private String commentType;
	/**
	 * <pre>评论关联编号 - COMMENT_TYPE_ID</pre>
	 **/
	private Long commentTypeId;
	/**
	 * <pre>评论人 - COMMENT_USER</pre>
	 **/
	private Long commentUser;
	/**
	 * <pre>评论时间 - COMMENT_TIME</pre>
	 **/
	@JSONField(format="yyyy-MM-dd HH:mm")
	private java.util.Date commentTime;
	/**
	 * <pre>评论等级 - COMMENT_LEVEL</pre>
	 **/
	private Integer commentLevel;
	/**
	 * <pre>评论内容 - COMMENT_CONTENT</pre>
	 **/
	private String commentContent;


	/**
	 * <pre>获取评论编号</pre>
	 **/
	public Long getCommentId() {
        return commentId;
    }

	/**
	 * <pre>设置评论编号</pre>
	 **/
    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

	/**
	 * <pre>获取父级评论编号</pre>
	 **/
	public Long getCommentParentId() {
        return commentParentId;
    }

	/**
	 * <pre>设置父级评论编号</pre>
	 **/
    public void setCommentParentId(Long commentParentId) {
        this.commentParentId = commentParentId;
    }

	/**
	 * <pre>获取评论类别</pre>
	 **/
	public String getCommentType() {
        return commentType;
    }

	/**
	 * <pre>设置评论类别</pre>
	 **/
    public void setCommentType(String commentType) {
        this.commentType = commentType;
    }

	/**
	 * <pre>获取评论关联编号</pre>
	 **/
	public Long getCommentTypeId() {
        return commentTypeId;
    }

	/**
	 * <pre>设置评论关联编号</pre>
	 **/
    public void setCommentTypeId(Long commentTypeId) {
        this.commentTypeId = commentTypeId;
    }

	/**
	 * <pre>获取评论人</pre>
	 **/
	public Long getCommentUser() {
        return commentUser;
    }

	/**
	 * <pre>设置评论人</pre>
	 **/
    public void setCommentUser(Long commentUser) {
        this.commentUser = commentUser;
    }

	/**
	 * <pre>获取评论时间</pre>
	 **/
	public java.util.Date getCommentTime() {
        return commentTime;
    }

	/**
	 * <pre>设置评论时间</pre>
	 **/
    public void setCommentTime(java.util.Date commentTime) {
        this.commentTime = commentTime;
    }

	/**
	 * <pre>获取评论等级</pre>
	 **/
	public Integer getCommentLevel() {
        return commentLevel;
    }

	/**
	 * <pre>设置评论等级</pre>
	 **/
    public void setCommentLevel(Integer commentLevel) {
        this.commentLevel = commentLevel;
    }

	/**
	 * <pre>获取评论内容</pre>
	 **/
	public String getCommentContent() {
        return commentContent;
    }

	/**
	 * <pre>设置评论内容</pre>
	 **/
    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("commentId=");
    	str.append(commentId);
    	str.append(", ");
    	str.append("commentParentId=");
    	str.append(commentParentId);
    	str.append(", ");
    	str.append("commentType=");
    	str.append(commentType);
    	str.append(", ");
    	str.append("commentTypeId=");
    	str.append(commentTypeId);
    	str.append(", ");
    	str.append("commentUser=");
    	str.append(commentUser);
    	str.append(", ");
    	str.append("commentTime=");
    	str.append(commentTime);
    	str.append(", ");
    	str.append("commentLevel=");
    	str.append(commentLevel);
    	str.append(", ");
    	str.append("commentContent=");
    	str.append(commentContent);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}